xenstore: fix crash on platforms with no gntdev driver implementation.
authorChristoph Egger <Christoph.Egger@amd.com>
Tue, 29 May 2012 10:12:45 +0000 (11:12 +0100)
committerChristoph Egger <Christoph.Egger@amd.com>
Tue, 29 May 2012 10:12:45 +0000 (11:12 +0100)
commitd72f334a2806c99812549cfc04b9e2cdb630ce07
tree3bd820f7e4e6b2e7ac83e1db0f06836e61b7eda1
parente9f8b0e530baaecc626ba912bfa98897d3cfb1dd
xenstore: fix crash on platforms with no gntdev driver implementation.

Fix pointer checks introduced in changeset 24757:aae516b78fce.

Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
tools/xenstore/xenstored_domain.c